package com.zhx.basis.设计模式.责任链.demo1;


public class Auth3 extends AuthService {


    public void queryAuthInfo() {
        QuestionFileVo deviceAccountVo = new QuestionFileVo().setPROB_NO("这是PROB_NO333").setFILE_LINK("这是fileLink33");
        setO(deviceAccountVo);
        addStatus("PROB_NO");
        addUserId("FILE_LINK");

        //实体类映射
        RebateInfo rebateInfo = entityToMap(getO());

        //处理逻辑
        String status = rebateInfo.getStatus();
        String userId = rebateInfo.getUserId();
        System.out.println("Auth3消息通知业务" + status);
        System.out.println("Auth3任务中心入库业务" + userId);

        //下一级调用链
        if (next() != null) {
            next().queryAuthInfo();
        }

    }

}
